package com.css.zfzx.data.postgresql.fxEconomicLossLevelMapPG.repository.entity;

import com.vividsolutions.jts.geom.Geometry;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

/**
 * @Description: data
 * @Author: lhl
 * @CreateDate: 2021/4/13 10:04
 */
@Entity
@Table(name = "fx_economic_loss_level_map", schema = "public", catalog = "beforebase")
public class FxEconomicLossLevelMapPostgresqlEntity {
    private String uuid;
    private String province;
    private String city;
    private String area;
    private String affiliatedFileName;
    private String coordinate;
    private int level;
    private String extend1;
    private String extend2;
    private String extend3;
    private String extend4;
    private String extend5;
    private String extend6;
    private String extend7;
    private String extend8;
    private String extend9;
    private String extend10;
    private String fxpcDcdxbmSjgl;
    private String isValid;
    private String partitionFlag;
    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;
    private Geometry extends1;
    private String extends2;
    private String extends3;
    private String extends4;
    private String extends5;
    private String extends6;
    private String extends7;
    private String extends8;
    private String extends9;
    private String extends10;
    private String fxpcDataidSjgl;
    private String fxpcXzqhbmaSjgl;
    private String fxpcXzqhbmbSjgl;
    private String fxpcXzqhbmcSjgl;
    private String fxpcUpdatetimeSjgl;
    private String fxpcCreatetimeSjgl;
    private String fxpcSjztSjgl;
    private String fxpcShlcztSjgl;
    private String fxpcShztSjgl;
    private String fxpcSshySjgl;
    private String fxpcRqfpSjgl;
    private String fxpcPchSjgl;

    @Id
    @Column(name = "uuid")
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Basic
    @Column(name = "province")
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Basic
    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Basic
    @Column(name = "area")
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Basic
    @Column(name = "affiliated_file_name")
    public String getAffiliatedFileName() {
        return affiliatedFileName;
    }

    public void setAffiliatedFileName(String affiliatedFileName) {
        this.affiliatedFileName = affiliatedFileName;
    }

    @Basic
    @Column(name = "coordinate")
    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    @Basic
    @Column(name = "level")
    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    @Basic
    @Column(name = "extend1")
    public String getExtend1() {
        return extend1;
    }

    public void setExtend1(String extend1) {
        this.extend1 = extend1;
    }

    @Basic
    @Column(name = "extend2")
    public String getExtend2() {
        return extend2;
    }

    public void setExtend2(String extend2) {
        this.extend2 = extend2;
    }

    @Basic
    @Column(name = "extend3")
    public String getExtend3() {
        return extend3;
    }

    public void setExtend3(String extend3) {
        this.extend3 = extend3;
    }

    @Basic
    @Column(name = "extend4")
    public String getExtend4() {
        return extend4;
    }

    public void setExtend4(String extend4) {
        this.extend4 = extend4;
    }

    @Basic
    @Column(name = "extend5")
    public String getExtend5() {
        return extend5;
    }

    public void setExtend5(String extend5) {
        this.extend5 = extend5;
    }

    @Basic
    @Column(name = "extend6")
    public String getExtend6() {
        return extend6;
    }

    public void setExtend6(String extend6) {
        this.extend6 = extend6;
    }

    @Basic
    @Column(name = "extend7")
    public String getExtend7() {
        return extend7;
    }

    public void setExtend7(String extend7) {
        this.extend7 = extend7;
    }

    @Basic
    @Column(name = "extend8")
    public String getExtend8() {
        return extend8;
    }

    public void setExtend8(String extend8) {
        this.extend8 = extend8;
    }

    @Basic
    @Column(name = "extend9")
    public String getExtend9() {
        return extend9;
    }

    public void setExtend9(String extend9) {
        this.extend9 = extend9;
    }

    @Basic
    @Column(name = "extend10")
    public String getExtend10() {
        return extend10;
    }

    public void setExtend10(String extend10) {
        this.extend10 = extend10;
    }

    @Basic
    @Column(name = "fxpc_dcdxbm_sjgl")
    public String getFxpcDcdxbmSjgl() {
        return fxpcDcdxbmSjgl;
    }

    public void setFxpcDcdxbmSjgl(String fxpcDcdxbmSjgl) {
        this.fxpcDcdxbmSjgl = fxpcDcdxbmSjgl;
    }

    @Basic
    @Column(name = "is_valid")
    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    @Basic
    @Column(name = "partition_flag")
    public String getPartitionFlag() {
        return partitionFlag;
    }

    public void setPartitionFlag(String partitionFlag) {
        this.partitionFlag = partitionFlag;
    }

    @Basic
    @Column(name = "create_user")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_user")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "extends1", columnDefinition="Geometry")
    public Geometry getExtends1() {
        return extends1;
    }

    public void setExtends1(Geometry extends1) {
        this.extends1 = extends1;
    }

    @Basic
    @Column(name = "extends2")
    public String getExtends2() {
        return extends2;
    }

    public void setExtends2(String extends2) {
        this.extends2 = extends2;
    }

    @Basic
    @Column(name = "extends3")
    public String getExtends3() {
        return extends3;
    }

    public void setExtends3(String extends3) {
        this.extends3 = extends3;
    }

    @Basic
    @Column(name = "extends4")
    public String getExtends4() {
        return extends4;
    }

    public void setExtends4(String extends4) {
        this.extends4 = extends4;
    }

    @Basic
    @Column(name = "extends5")
    public String getExtends5() {
        return extends5;
    }

    public void setExtends5(String extends5) {
        this.extends5 = extends5;
    }

    @Basic
    @Column(name = "extends6")
    public String getExtends6() {
        return extends6;
    }

    public void setExtends6(String extends6) {
        this.extends6 = extends6;
    }

    @Basic
    @Column(name = "extends7")
    public String getExtends7() {
        return extends7;
    }

    public void setExtends7(String extends7) {
        this.extends7 = extends7;
    }

    @Basic
    @Column(name = "extends8")
    public String getExtends8() {
        return extends8;
    }

    public void setExtends8(String extends8) {
        this.extends8 = extends8;
    }

    @Basic
    @Column(name = "extends9")
    public String getExtends9() {
        return extends9;
    }

    public void setExtends9(String extends9) {
        this.extends9 = extends9;
    }

    @Basic
    @Column(name = "extends10")
    public String getExtends10() {
        return extends10;
    }

    public void setExtends10(String extends10) {
        this.extends10 = extends10;
    }

    @Basic
    @Column(name = "fxpc_dataid_sjgl")
    public String getFxpcDataidSjgl() {
        return fxpcDataidSjgl;
    }

    public void setFxpcDataidSjgl(String fxpcDataidSjgl) {
        this.fxpcDataidSjgl = fxpcDataidSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbma_sjgl")
    public String getFxpcXzqhbmaSjgl() {
        return fxpcXzqhbmaSjgl;
    }

    public void setFxpcXzqhbmaSjgl(String fxpcXzqhbmaSjgl) {
        this.fxpcXzqhbmaSjgl = fxpcXzqhbmaSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbmb_sjgl")
    public String getFxpcXzqhbmbSjgl() {
        return fxpcXzqhbmbSjgl;
    }

    public void setFxpcXzqhbmbSjgl(String fxpcXzqhbmbSjgl) {
        this.fxpcXzqhbmbSjgl = fxpcXzqhbmbSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbmc_sjgl")
    public String getFxpcXzqhbmcSjgl() {
        return fxpcXzqhbmcSjgl;
    }

    public void setFxpcXzqhbmcSjgl(String fxpcXzqhbmcSjgl) {
        this.fxpcXzqhbmcSjgl = fxpcXzqhbmcSjgl;
    }

    @Basic
    @Column(name = "fxpc_updatetime_sjgl")
    public String getFxpcUpdatetimeSjgl() {
        return fxpcUpdatetimeSjgl;
    }

    public void setFxpcUpdatetimeSjgl(String fxpcUpdatetimeSjgl) {
        this.fxpcUpdatetimeSjgl = fxpcUpdatetimeSjgl;
    }

    @Basic
    @Column(name = "fxpc_createtime_sjgl")
    public String getFxpcCreatetimeSjgl() {
        return fxpcCreatetimeSjgl;
    }

    public void setFxpcCreatetimeSjgl(String fxpcCreatetimeSjgl) {
        this.fxpcCreatetimeSjgl = fxpcCreatetimeSjgl;
    }

    @Basic
    @Column(name = "fxpc_sjzt_sjgl")
    public String getFxpcSjztSjgl() {
        return fxpcSjztSjgl;
    }

    public void setFxpcSjztSjgl(String fxpcSjztSjgl) {
        this.fxpcSjztSjgl = fxpcSjztSjgl;
    }

    @Basic
    @Column(name = "fxpc_shlczt_sjgl")
    public String getFxpcShlcztSjgl() {
        return fxpcShlcztSjgl;
    }

    public void setFxpcShlcztSjgl(String fxpcShlcztSjgl) {
        this.fxpcShlcztSjgl = fxpcShlcztSjgl;
    }

    @Basic
    @Column(name = "fxpc_shzt_sjgl")
    public String getFxpcShztSjgl() {
        return fxpcShztSjgl;
    }

    public void setFxpcShztSjgl(String fxpcShztSjgl) {
        this.fxpcShztSjgl = fxpcShztSjgl;
    }

    @Basic
    @Column(name = "fxpc_sshy_sjgl")
    public String getFxpcSshySjgl() {
        return fxpcSshySjgl;
    }

    public void setFxpcSshySjgl(String fxpcSshySjgl) {
        this.fxpcSshySjgl = fxpcSshySjgl;
    }

    @Basic
    @Column(name = "fxpc_rqfp_sjgl")
    public String getFxpcRqfpSjgl() {
        return fxpcRqfpSjgl;
    }

    public void setFxpcRqfpSjgl(String fxpcRqfpSjgl) {
        this.fxpcRqfpSjgl = fxpcRqfpSjgl;
    }

    @Basic
    @Column(name = "fxpc_pch_sjgl")
    public String getFxpcPchSjgl() {
        return fxpcPchSjgl;
    }

    public void setFxpcPchSjgl(String fxpcPchSjgl) {
        this.fxpcPchSjgl = fxpcPchSjgl;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FxEconomicLossLevelMapPostgresqlEntity that = (FxEconomicLossLevelMapPostgresqlEntity) o;
        return Objects.equals(uuid, that.uuid) &&
                Objects.equals(province, that.province) &&
                Objects.equals(city, that.city) &&
                Objects.equals(area, that.area) &&
                Objects.equals(affiliatedFileName, that.affiliatedFileName) &&
                Objects.equals(coordinate, that.coordinate) &&
                Objects.equals(level, that.level) &&
                Objects.equals(extend1, that.extend1) &&
                Objects.equals(extend2, that.extend2) &&
                Objects.equals(extend3, that.extend3) &&
                Objects.equals(extend4, that.extend4) &&
                Objects.equals(extend5, that.extend5) &&
                Objects.equals(extend6, that.extend6) &&
                Objects.equals(extend7, that.extend7) &&
                Objects.equals(extend8, that.extend8) &&
                Objects.equals(extend9, that.extend9) &&
                Objects.equals(extend10, that.extend10) &&
                Objects.equals(fxpcDcdxbmSjgl, that.fxpcDcdxbmSjgl) &&
                Objects.equals(isValid, that.isValid) &&
                Objects.equals(partitionFlag, that.partitionFlag) &&
                Objects.equals(createUser, that.createUser) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(updateUser, that.updateUser) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(extends1, that.extends1) &&
                Objects.equals(extends2, that.extends2) &&
                Objects.equals(extends3, that.extends3) &&
                Objects.equals(extends4, that.extends4) &&
                Objects.equals(extends5, that.extends5) &&
                Objects.equals(extends6, that.extends6) &&
                Objects.equals(extends7, that.extends7) &&
                Objects.equals(extends8, that.extends8) &&
                Objects.equals(extends9, that.extends9) &&
                Objects.equals(extends10, that.extends10) &&
                Objects.equals(fxpcDataidSjgl, that.fxpcDataidSjgl) &&
                Objects.equals(fxpcXzqhbmaSjgl, that.fxpcXzqhbmaSjgl) &&
                Objects.equals(fxpcXzqhbmbSjgl, that.fxpcXzqhbmbSjgl) &&
                Objects.equals(fxpcXzqhbmcSjgl, that.fxpcXzqhbmcSjgl) &&
                Objects.equals(fxpcUpdatetimeSjgl, that.fxpcUpdatetimeSjgl) &&
                Objects.equals(fxpcCreatetimeSjgl, that.fxpcCreatetimeSjgl) &&
                Objects.equals(fxpcSjztSjgl, that.fxpcSjztSjgl) &&
                Objects.equals(fxpcShlcztSjgl, that.fxpcShlcztSjgl) &&
                Objects.equals(fxpcShztSjgl, that.fxpcShztSjgl) &&
                Objects.equals(fxpcSshySjgl, that.fxpcSshySjgl) &&
                Objects.equals(fxpcRqfpSjgl, that.fxpcRqfpSjgl) &&
                Objects.equals(fxpcPchSjgl, that.fxpcPchSjgl);
    }

    @Override
    public int hashCode() {
        return Objects.hash(uuid, province, city, area, affiliatedFileName, coordinate, level, extend1, extend2, extend3, extend4, extend5, extend6, extend7, extend8, extend9, extend10, fxpcDcdxbmSjgl, isValid, partitionFlag, createUser, createTime, updateUser, updateTime, extends1, extends2, extends3, extends4, extends5, extends6, extends7, extends8, extends9, extends10, fxpcDataidSjgl, fxpcXzqhbmaSjgl, fxpcXzqhbmbSjgl, fxpcXzqhbmcSjgl, fxpcUpdatetimeSjgl, fxpcCreatetimeSjgl, fxpcSjztSjgl, fxpcShlcztSjgl, fxpcShztSjgl, fxpcSshySjgl, fxpcRqfpSjgl, fxpcPchSjgl);
    }
}
